// These configs were generated by the tf2mate configuration file generator by compton.
// Create your own tailored configs at: http://clugu.com/tf2mate/

//EXECUTE OTHER, REQUIRED CFG'S
exec crosshairswitcher/binds
exec crosshairswitcher/settings
exec crosshairswitcher/crosshairs

tf_remember_activeweapon "1"

//GETTING THE SETTINGS
alias prim ""; alias p_w ""; alias s_w ""; alias m_w "";
alias scout 	""alias prim "scout_primary""; "alias sec "scout_secondary""; "alias mel "scout_melee""; primary_up; alias p_w "primary_weapons_scout"; alias s_w "secondary_weapons_scout"; alias m_w "melee_weapons_scout""
alias soldier 	""alias prim "soldier_primary""; "alias sec "soldier_secondary""; "alias mel "soldier_melee""; primary_up; alias p_w "primary_weapons_soldier"; alias s_w "secondary_weapons_soldier"; alias m_w "melee_weapons_soldier""
alias pyro 	""alias prim "pyro_primary""; "alias sec "pyro_secondary""; "alias mel "pyro_melee""; primary_up; alias p_w "primary_weapons_pyro"; alias s_w "secondary_weapons_pyro"; alias m_w "melee_weapons_pyro""
alias demoman 	""alias prim "demoman_primary""; "alias sec "demoman_secondary""; "alias mel "demoman_melee""; primary_up; alias p_w "primary_weapons_demoman"; alias s_w "secondary_weapons_demoman"; alias m_w "melee_weapons_demoman""
alias heavy 	""alias prim "heavy_primary""; "alias sec "heavy_secondary""; "alias mel "heavy_melee""; primary_up; alias p_w "primary_weapons_heavy"; alias s_w "secondary_weapons_heavy"; alias m_w "melee_weapons_heavy""
alias engineer 	""alias prim "engineer_primary""; "alias sec "engineer_secondary""; "alias mel "engineer_melee""; primary_up; alias p_w "primary_weapons_engineer"; alias s_w "secondary_weapons_engineer"; alias m_w "melee_weapons_engineer""
alias medic 	""alias prim "medic_primary""; "alias sec "medic_secondary""; "alias mel "medic_melee""; primary_up; alias p_w "primary_weapons_medic"; alias s_w "secondary_weapons_medic"; alias m_w "melee_weapons_medic""
alias sniper 	""alias prim "sniper_primary""; "alias sec "sniper_secondary""; "alias mel "sniper_melee""; primary_up; alias p_w "primary_weapons_sniper"; alias s_w "secondary_weapons_sniper"; alias m_w "melee_weapons_sniper""
alias spy 		""alias prim "spy_primary""; "alias sec "spy_secondary""; "alias mel "spy_melee""; primary_up; alias p_w "primary_weapons_spy"; alias s_w "secondary_weapons_spy"; alias m_w "melee_weapons_spy""

//ACTUAL SWITCHING SCRIPT
alias primary_down "slot1; p_w; prim; alias weapon1 "primary_down"; alias weapon2 "secondary_down"; alias weapon3 "melee_up"; alias lastweapon "melee_up"; alias nextweapon "secondary_down"; alias previousweapon "melee_up"; alias switch_between_slot1_and_slot2 "secondary_down""

alias primary_up "slot1; p_w; prim; alias weapon1 "primary_up"; alias weapon2 "secondary_down"; alias weapon3 "melee_up"; alias lastweapon "secondary_down"; alias nextweapon "secondary_down"; alias previousweapon "melee_up"; alias switch_between_slot1_and_slot2 "secondary_down""

alias secondary_down "slot2; s_w; sec; alias weapon1 "primary_up"; alias weapon2 "secondary_down"; alias weapon3 "melee_down"; alias lastweapon "primary_up"; alias nextweapon "melee_down"; alias previousweapon "primary_up"; alias switch_between_slot1_and_slot2 "primary_up""

alias secondary_up "slot2; s_w; sec; alias weapon1 "primary_up"; alias weapon2 "secondary_up"; alias weapon3 "melee_down"; alias lastweapon "melee_down"; alias nextweapon "melee_down"; alias previousweapon "primary_up"; alias switch_between_slot1_and_slot2 "primary_up""

alias melee_down "slot3; m_w; mel; alias weapon1 "primary_down"; alias weapon2 "secondary_up"; alias weapon3 "melee_down"; alias lastweapon "secondary_up"; alias nextweapon "primary_down"; alias previousweapon "secondary_up"; alias switch_between_slot1_and_slot2 "primary_up""

alias melee_up "slot3; m_w; mel; alias weapon1 "primary_down"; alias weapon2 "secondary_up"; alias weapon3 "melee_up"; alias lastweapon "primary_down"; alias nextweapon "primary_down"; alias previousweapon "secondary_up"; alias switch_between_slot1_and_slot2 "primary_up""

//WEAPON NAMES
alias primary_weapons_scout "use tf_weapon_scattergun; use tf_weapon_handgun_scout_primary"
alias primary_weapons_soldier "use tf_weapon_rocketlauncher; use tf_weapon_rocketlauncher_directhit"
alias primary_weapons_pyro "use tf_weapon_flamethrower"
alias primary_weapons_demoman "use tf_weapon_grenadelauncher"
alias primary_weapons_heavy "use tf_weapon_minigun"
alias primary_weapons_engineer "use tf_weapon_shotgun_primary; use tf_weapon_sentry_revenge"
alias primary_weapons_medic "use tf_weapon_syringegun_medic"
alias primary_weapons_sniper "use tf_weapon_sniperrifle; use tf_weapon_compound_bow"
alias primary_weapons_spy "use tf_weapon_revolver"

alias secondary_weapons_scout "use tf_weapon_pistol_scout; use tf_weapon_lunchbox_drink; use tf_weapon_jar_milk"
alias secondary_weapons_soldier "use tf_weapon_shotgun_soldier; use tf_weapon_buff_item; use tf_wearable_item"
alias secondary_weapons_pyro "use tf_weapon_shotgun_pyro; use tf_weapon_flaregun"
alias secondary_weapons_demoman "use tf_weapon_pipebomblauncher; use tf_wearable_item_demoshield"
alias secondary_weapons_heavy "use tf_weapon_shotgun_hwg; use tf_weapon_lunchbox"
alias secondary_weapons_engineer "use tf_weapon_pistol; use tf_weapon_laser_pointer"
alias secondary_weapons_medic "use tf_weapon_medigun"
alias secondary_weapons_sniper "use tf_weapon_smg; use tf_weapon_jar"
alias secondary_weapons_spy "build 3 0"

alias melee_weapons_scout "use tf_weapon_bat; use tf_weapon_bat_wood; use tf_weapon_bat_fish"
alias melee_weapons_soldier "use tf_weapon_shovel"
alias melee_weapons_pyro "use tf_weapon_fireaxe"
alias melee_weapons_demoman "use tf_weapon_bottle; use tf_weapon_shovel; use tf_weapon_sword"
alias melee_weapons_heavy "use tf_weapon_fists"
alias melee_weapons_engineer "use tf_weapon_wrench; use tf_weapon_robot_arm"
alias melee_weapons_medic "use tf_weapon_bonesaw"
alias melee_weapons_sniper "use tf_weapon_club"
alias melee_weapons_spy "use tf_weapon_knife"

//HANDLING QUICKSWITCH
alias +quickswitchmenu "+quickswitch; bind 1 slot1; bind 2 slot2; bind 3 slot3"
alias -quickswitchmenu "-quickswitch; exec crosshairswitcher/binds"

//SWITCH TO PRIMARY SLOT WITH SECONDARY SLOT ON LASTINV UPON SWITCHING CLASS
primary_up

